package com.pktechan.api.entity;

import com.pktechan.api.base.BaseEntity;
import com.pktechan.api.utils.FastDfsHttpUtil;
import com.pktechan.api.utils.StringUtil;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @program
 * @Description 对象实体
 * @Author qx.zhang
 * @create 2021-03-05 11:03
 */
public class ProductBaseInfo extends BaseEntity {


    /**
     * 产品ID
     */

    private Integer id;

    /**
     * 产品名称
     */
    private String name;

    /**
     * 产品详情
     */
    private String detail;

    /**
     * 单位规格
     */
    private String unit;
    /**
     * 客户VIP类型  0：游客，10：VIP，20：配送商
     */
    private Integer custVipType;

    /**
     * 分类   "11-白酒 12-啤酒 13-葡萄酒 14-黄酒
     * 21-注册VIP 22-注册配送商"
     */
    private Integer category;

    /**
     * 供货商，用于品牌区分
     */
    private String vendor;

    /**
     * 单价，购买支付金额
     */
    private BigDecimal price;

    /**
     * 头像
     */
    private String thumbImagePath;

    /**
     * 配送运费
     */
    private BigDecimal priceCarriage;
    /**
     * 配送云积分
     */
    private BigDecimal cloudPoint;

    private Integer cloudTicket;
    /**
     * 产品状态 0-待上线 1-上线 -1-已下线
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 头像Url
     */
    private String thumbImageUrl;
    /**
     * 产品排序规则
     */
    private Integer sortOrder;


    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDetail() {
        return this.detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getUnit() {
        return this.unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getCategory() {
        return this.category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public Integer getCustVipType() {
        return custVipType;
    }

    public void setCustVipType(Integer custVipType) {
        this.custVipType = custVipType;
    }

    public String getVendor() {
        return this.vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getThumbImagePath() {
        return thumbImagePath;
    }

    public void setThumbImagePath(String thumbImagePath) {
        this.thumbImagePath = thumbImagePath;
    }

    public BigDecimal getPriceCarriage() {
        return priceCarriage;
    }

    public void setPriceCarriage(BigDecimal priceCarriage) {
        this.priceCarriage = priceCarriage;
    }

    public BigDecimal getCloudPoint() {
        return cloudPoint;
    }

    public void setCloudPoint(BigDecimal cloudPoint) {
        this.cloudPoint = cloudPoint;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getThumbImageUrl() {
        return thumbImageUrl;
    }

    public void setThumbImageUrl(String thumbImageUrl) {
        this.thumbImageUrl = thumbImageUrl;
    }


    public Integer getCloudTicket() {
        return cloudTicket;
    }

    public void setCloudTicket(Integer cloudTicket) {
        this.cloudTicket = cloudTicket;
    }
}
